package system

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/system/v1"
)

func (c *ControllerV1) RoleDestroy(ctx context.Context, req *v1.RoleDestroyReq) (res *v1.RoleDestroyRes, err error) {
	res = &v1.RoleDestroyRes{}
	err = service.SysRole().Destroy(ctx, req.Ids)
	return
}
